package com.ccm.demo.springbootsecurity.entity;

import java.util.List;

/**
 * Created by com.ccm.demo.springbootsecurity.MybatisCodeGenerate on 2018-05-03
 */
public class SysMenu implements java.io.Serializable {

    // Fields

    // 菜单id
    private Integer menuId;
    // 接口路径
    private String menuUrl;
    // 前端路径
    private String menuPath;
    // 菜单名
    private String menuName;
    // 上级菜单id
    private Integer parentId;
    //角色列表
    private List<SysRole> sysRoles;

    // Constructors

    /**
     * default constructor
     */
    public SysMenu() {
    }

    /**
     * full constructor
     */
    public SysMenu(String menuUrl, String menuPath, String menuName, Integer parentId) {
        this.menuUrl = menuUrl;
        this.menuPath = menuPath;
        this.menuName = menuName;
        this.parentId = parentId;
    }

    // Property accessors

    public Integer getMenuId() {
        return this.menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuUrl() {
        return this.menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuPath() {
        return this.menuPath;
    }

    public void setMenuPath(String menuPath) {
        this.menuPath = menuPath;
    }

    public String getMenuName() {
        return this.menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getParentId() {
        return this.parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<SysRole> getSysRoles() {
        return sysRoles;
    }

    public void setSysRoles(List<SysRole> sysRoles) {
        this.sysRoles = sysRoles;
    }
}